package com.ydc.pojo;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import lombok.experimental.Accessors;

@Data
@Accessors(chain = true)
@TableName("user")
public class User extends BasePojo{

    @TableId(type = IdType.AUTO)
    private  Integer id;   //主键
    private  String username;   //用户名(昵称)
    private  String password;  //密码
    private  String realname;   //用户真实姓名
    private  Integer age;       //年龄
    private  String gender;      //性别
    private  String idNum;     //身份证号
    private  String phone;       //电话

}
